import dataV from '@jiaminghi/data-view'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.less' //在自定义样式中引入
import axios from 'axios'
import 'moment/locale/zh-cn'
import Vue from 'vue'
import VueAxios from 'vue-axios'
// import echarts from 'echarts'
import * as echarts from 'echarts'
// import VueRouter from 'vue-router'
import router from '../utils/router'
import './assets/style2.less' //自定义样式
import './assets/theme.less' //自定义样式
import Main from './Main.vue'
import { fitChartSize } from '../utils/fitChartSize.js'
Vue.prototype.fitChartSize = fitChartSize

Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.use(dataV)
Vue.use(Antd)
Vue.use(VueAxios, axios)
// Vue.use(VueRouter)
new Vue({
  router,
  render: (h) => h(Main),
}).$mount('#app')
